import 'reflect-metadata'
import { Container } from 'inversify';

let TYPES = {
  someType: "someType"
};

let container = new Container();
container.bind<number>(TYPES.someType).toConstantValue(1);
container.bind<number>(TYPES.someType).toConstantValue(2);

let values1 = container.getAll(TYPES.someType);
console.log("values1", values1);

container.rebind<number>(TYPES.someType)
  .toConstantValue(3);
let values2 = container.getAll(TYPES.someType);

console.log("values2", values2);
